﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Reflection;
using System.ServiceModel;
using MaxLeaf.Platform.DataContract;

namespace MaxLeaf.Platform.Contract
{
    [ServiceContract]
    [ServiceKnownType(typeof(SCPmLogDataModel))]
    public interface ISCPmLog
    {
        [OperationContract]
        SCPmLogDataModel Select(SCPmLogDataModel model, int intKeyValue);

        [OperationContract]
        SCPmLogDataModel Add(SCPmLogDataModel model);

        [OperationContract]
        SCPmLogDataModel Update(SCPmLogDataModel model);

        [OperationContract]
        SCPmLogDataModel Delete(SCPmLogDataModel model);

        [OperationContract]
        bool UpdateDetail(SCPmLogDataModel model, string strOOO);
    }
}
